<template>
    <keep-alive v-if="$route.meta.keepAlive">
      <router-view v-if="$route.meta.keepAlive" />
    </keep-alive>
    <router-view v-else="!$route.meta.keepAlive" />
</template>
